<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
</html>

<script>
	var a = 18, b = 5;
	document.write(a+"%"+b+"="+a%b+"<br />");
	document.write(-a+"%"+b+"="+(-a)%b+"<br />");
	document.write(a+"%"+-b+"="+a%(-b)+"<br />");
	
	var x = 5 , y = 0;
	y = x+++10;
	document.write("x="+x+",y="+y+"<br />");
	x = 5;
	y = ++x+10;
	document.write("x="+x+",y="+y+"<br />");
	x = 5;
	y = x--+10;
	document.write("x="+x+",y"+y+"<br />");
	x = 5;
	y = --x+10;
	document.write("x="+x+",y"+y+"<br />");
	
	
</script>